package com.rules.admin.vo;


import com.rules.admin.domain.IRole;

public class Role implements IRole {
   private String roleId;

   public String getRoleId() {
      return this.roleId;
   }

   public String getAuthority() {
      return null;
   }

   public void setRoleId(String roleId) {
      this.roleId = roleId;
   }

   public boolean equals(Object o) {
      if (this == o) {
         return true;
      } else if (!(o instanceof Role)) {
         return false;
      } else {
         Role role = (Role)o;
         return this.getRoleId() != null ? this.getRoleId().equals(role.getRoleId()) : role.getRoleId() == null;
      }
   }

   public int hashCode() {
      return this.getRoleId() != null ? this.getRoleId().hashCode() : 0;
   }
}
